package leo.weixin.entity;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 图文消息的具体内容
 * <item>
*  *   <Title><![CDATA[title1]]></Title>
*  *   <Description><![CDATA[description1]]></Description>
*  *   <PicUrl><![CDATA[picurl]]></PicUrl>
*  *   <Url><![CDATA[url]]></Url>
*  *</item>
 */
@Accessors(chain = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@XStreamAlias("item")
public class Article {
    @XStreamAlias("Title")
    private String title;
    @XStreamAlias("Description")
    private String description;
    @XStreamAlias("PicUrl")
    private String picUrl;
    @XStreamAlias("Url")
    private String url;
}
